Automattic\Jetpack\My_Jetpack\Initializer D

Total Complexity 143
Dependencies 38
Dependents 6
Total lines 1,129
Lines of code 661
Logical lines of code 328
Comment lines 308
Methods 38
Properties 1

Methods 38

Method Rating Maintainability Complexity Lines of code
get_videopress_stats()
A
45 11 44
alert_if_paid_plan_expiring()
A
45 11 42
enqueue_scripts()
A
32 6 115
check_for_broken_modules()
A
50 11 29
is_jetpack_user_new()
A
49 8 30
get_paid_plans_plugins_requirements()
S
54 7 21
has_file_system_write_access()
S
52 6 25
update_historically_active_jetpack_modules()
S
54 6 21
alert_if_last_backup_failed()
S
57 6 17
maybe_show_red_bubble()
S
56 5 18
alert_if_paid_plan_requires_plugin_install_or_activation()
S
59 5 14
alert_if_missing_connection()
S
53 4 26
add_red_bubble_alerts()
S
55 4 21
init()
S
55 4 20
get_site_info()
S
58 4 17
setup_historically_active_jetpack_modules_sync()
S
58 4 15
get_red_bubble_alerts()
S
60 4 13
get_site()
S
60 3 12
queue_historically_active_jetpack_modules_update()
S
69 3 6
should_initialize()
S
64 3 10
is_commercial_site()
S
70 3 6
get_active_modules()
S
66 3 8
alert_if_protect_has_threats()
S
64 3 10
get_installed_jetpack_plugins()
S
59 2 14
get_purchases()
S
63 2 12
register_rest_endpoints()
S
53 1 26
is_licensing_ui_enabled()
S
65 2 10
get_recommended_modules()
S
67 2 8
add_my_jetpack_menu_item()
S
63 1 11
admin_init()
S
66 1 8
is_user_from_known_host()
S
77 1 3
can_use_analytics()
S
69 1 6
get_idc_container_id()
S
81 1 3
get_my_jetpack_flags()
S
68 1 7
is_registered()
S
79 1 3
permissions_callback()
S
80 1 3
admin_page()
S
81 1 3
dismiss_welcome_banner()
S
74 1 4